package net.model.factory.abstracted;

public class Test {

	public static void main(String[] args) {
		
		IMotorPartFactory mpf = new CarPartFactory();
		MotorWorkshop mws = new MotorWorkshop(mpf);
		mws.prepare();
		mws.compose();
		
		mpf = new TruckPartFactory();
		mws = new MotorWorkshop(mpf);
		mws.prepare();
		mws.compose();
	}
}
